package com.xz.knowledgeDuplication.pattern.iterator;

/**
 * 抽象迭代器角色
 *
 * @author 召
 * @date 2022-03-29 20:49:45
 */
public interface Iterator<T> {

    boolean hasNext();

    T next();
}
